<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <input
      type="text"
      id="elInput"
      class="a b c"
      name="uname"
      username="jack"
      age="20"
    />
    <script>
      const elInput = document.getElementById("elInput");
      console.log(elInput.id);
      console.log(elInput.type);
      console.log(elInput.className); //class
      console.log(elInput.name);

      console.log(elInput.username);
    </script>
  </body>
</html>
